import request from '../util/request.js'

export function register(data) {
	return request.post('user/register', data, {
		noAuth: true
	})
}

export function sendCode(data) {
	return request.get("user/sendCode", data, {
		noAuth: true
	})
}

export function updatePwd(data) {
	return request.post('user/update/pwd', data, {
		noAuth: true
	})
}

